import { Module } from '@nestjs/common';
import { DictItemService } from './dict-item.service';
import { DictItemController } from './dict-item.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { DictTypeModule } from '../dict-type/dict-type.module';
import { DictItem } from './entities/dict-item.entity';
import { DictType } from '../dict-type/entities/dict-type.entity';

@Module({
  imports: [DictTypeModule, TypeOrmModule.forFeature([DictItem, DictType])],
  controllers: [DictItemController],
  providers: [DictItemService],
})
export class DictItemModule {}
